USE [A3Fashion]
GO
/****** Object:  StoredProcedure [dbo].[UpdateProductDetail]    Script Date: 02/14/2011 19:24:18 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:		Quynh Nguyen
-- Create date: 
-- Description:	
-- =============================================
CREATE PROCEDURE [dbo].[UpdateProductDetail] 
	-- Add the parameters for the stored procedure here
	@ProductID int,
	@ProductDetailID int, 
	@ColorID int,
	@SizeList varchar(50)
	
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	UPDATE [A3Fashion].[dbo].[ProductDetail]
   SET [ProductID] = @ProductID
      ,[ColorID] = @ColorID
      ,[SizeList] = @SizeList
 WHERE [ProductDetailID] = @ProductDetailID
END